<?php
class MenuItem {
	var $menuId;
	var $quantity;
	var $price;
	function __construct($menuId, $quantity, $price) {
		$this->quantity = $quantity;
		$this->menuId = $menuId;
		$this->price = $price;
	}
	function getMenuId() {
		return $this->menuId;
	}
	function getQuantity() {
		return $this->quantity;
	}
	function addQuantity($quantity) {
		$this->quantity = $this->quantity + $quantity;
	}
	function setQuantity($quantity) {
		$this->quantity = $quantity;
	}
}
?>